JM Financial maintains a precautionary view on the small and mid cap indices, which have made new highs on relative valuation against Nifty50